<template>
  <div>
    <bkTable :data="tableData">
      <bkTableColumn label="回答问题" prop="title"></bkTableColumn>
      <bkTableColumn label="回答时间" prop="date" sortable></bkTableColumn>
      <bkTableColumn label="操作">
        <bkButton class="mr10" theme="primary" text>查看</bkButton>
        <bkButton class="mr10" theme="primary" text>编辑</bkButton>
        <bkButton class="mr10" theme="primary" text>撤回</bkButton>
      </bkTableColumn>
    </bkTable>
  </div>
</template>

<script setup>
import { bkTable, bkTableColumn, bkButton } from "bk-magic-vue";

const tableData = [
  { title: "标题1", date: "2022年12月25日" },
  { title: "标题2", date: "2022年12月25日" },
];

// const pagination = { current: 1, count: 500, limit: 20 };
</script>
